package org.kaka.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_content")
public class ContentDto {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long chapterId;
    private Long bookId;
    private String content;
    @TableField(exist = false)
    private String chapterTitle;
    @TableField(exist = false)
    private Long chapterIndex;
}
